package com.aaa.dem1101.deadlock;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/1  14:40
 */
public class Test {
    public static void main(String[] args) {
        Boy boy=new Boy();
        boy.setName("男");
        Girl girl=new Girl();
        girl.setName("女");
        boy.start();
        girl.start();
    }
}
